/**
 * Copyright (c) 2008-2012 FeiLong, Inc. All Rights Reserved.
 * <p>
 * 	This software is the confidential and proprietary information of FeiLong Network Technology, Inc. ("Confidential Information").  <br>
 * 	You shall not disclose such Confidential Information and shall use it 
 *  only in accordance with the terms of the license agreement you entered into with FeiLong.
 * </p>
 * <p>
 * 	FeiLong MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, 
 * 	INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * 	PURPOSE, OR NON-INFRINGEMENT. <br> 
 * 	FeiLong SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * 	THIS SOFTWARE OR ITS DERIVATIVES.
 * </p>
 */
package com.exception;

/**
 * 每个商城 独特的 ErrorCodes
 * 
 * @author <a href="mailto:venusdrogon@163.com">金鑫</a>
 * @version 1.0 2012-7-16 下午12:16:44
 */
public interface ShopErrorCodes{
	/**
	 * 订单创建失败
	 */
	public int CREATE_ORDER_FAILURE	= 201;
	
	/**
	 * 订单金额
	 */
	public int SHOPPING_AMOUNT = 64103;
	/**
	 * 优惠券
	 */
	public int SHOPPING_CARD = 64104;


	public static final int ERR_ITEM_TYPE_EXTCODE_BLANK = 660301;

	public static final int ERR_ITEM_NAME_BLANK = 660203;

	public static final int ERR_ITEM_CODE_BLANK = 660202;

	public static final int ERR_ITEM_NULL = 660201;

	/**
	 * 数据反序列化异常
	 */
	public static final int ERR_BINDEXCEPTION = 67001;

	/**
	 * 外键冲突异常
	 */
	public static final int ERR_FORIGNKEY = 67002;

	/**
	 * LIVEID登錄拒絕
	 */
	public static final int ERR_LIVEID = 650501;
	
	/**
	 * 获取语言环境参数时因编码问题抛出异常 
	 */
	public static final int ERR_GET_PARAMETER = 650601;

	public static final int ERR_NOT_RECEIVER_PHONE = 650301;

	public static final int ERR_SKU_NOT_EXIST = 650201;

	public static final int ERR_SKU_HAS_NO_WHSKU = 650202;

	public static final int ERR_WHSKU_HAS_NO_PRICE = 650203;

	public static final int ERR_EMPTY_CART = 650401;
	
	public static final int SKU_CARTNO_INVENTORY = 64105; 
}
